package model.map;

class HexRelativityCoordinate
{
	private int x;
	private int y;
	
	public HexRelativityCoordinate()
	{
		x = y = 0;
	}
	
	public HexRelativityCoordinate(int x, int y, Direction d)
	{
		this.x = x + d.getX();
		this.y = y + d.getY();
	}
	
	public int getX()
	{
		return x;
	}
	
	public int getY()
	{
		return y;
	}
	
	public int getZ()
	{
		return x - y;
	}
}
